// sidebar
$menuBackgroundColor: #304156;
$menuActiveTextColor: #409EFF;
$menuTextColor: #bfcbd9;
$subMenuActiveText: #409EFF;
$speed: 0.1s;

:export {
  menuBackgroundColor: $menuBackgroundColor;
  menuActiveTextColor: $menuActiveTextColor;
  menuTextColor: $menuTextColor;
  subMenuActiveText: $subMenuActiveText;
}


.container-slider {
  display: flex;
  position: relative;
  width: 180px;
  flex-direction: column;

  .slider-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 52px;

    .logo {
      height: 52px;
      width: 100%;
    }
  }

  .logo-open {
    width: 180px;
  }

  .logo-close {
    width: 64px;
  }

  .slider-btn {
    position: absolute;
    bottom: 0;
    z-index: 9999;
    padding: 10px 0;
    cursor: pointer;
    right: 0;
    background-color: $menuBackgroundColor;
    color: wheat;
    width: 16px;
    text-align: center;
    border-radius: 0 8px 8px 0;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slider-body {
    flex: 1;
    z-index: 999;
    user-select: none;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    position: relative;

    .slider {
      flex: 1;
      border-right: 0;

      .el-submenu__title{
        overflow: hidden;
      }

      .font-bga {
        height: 20px;
        width: 20px;
        background: #5095e5;
        padding: 10px;
        line-height: 20px;
        margin: 8px -10px;
        border-radius: 50%;
        text-align: center;
        color: #fff;
      }
    }
  }
}

